import 'package:json_annotation/json_annotation.dart'; 
  
part 'shop_result.g.dart';


@JsonSerializable()
  class ShopResult{

  @JsonKey(name: 'hid')
  String hid;

  @JsonKey(name: 'sname')
  String sname;

  @JsonKey(name: 'owner')
  String owner;

  @JsonKey(name: 'hpicurl')
  String hpicurl;

  @JsonKey(name: 'phone')
  String phone;

  @JsonKey(name: 'haddress')
  String haddress;

  @JsonKey(name: 'hdescr')
  String hdescr;

  @JsonKey(name: 'dist')
  int dist;

  @JsonKey(name: 'star')
  int star;

  ShopResult(this.hid,this.sname,this.owner,this.hpicurl,this.phone,this.haddress,this.hdescr,this.dist,this.star,);

  factory ShopResult.fromJson(Map<String, dynamic> srcJson) => _$ShopResultFromJson(srcJson);

}

  
